package entity.lianxi.demo11;

import java.time.LocalDateTime;

public class Stass {
        /**
         * 编号
         */
        private int id;

        /**
         * 姓名
         */
        private String name;
        /**
         * 年龄
         */
        private int age;
        /**
         * 联系方式
         */
        private String phone;
        /**
         * 职位
         */
        // @Column("staff_position")
        private String staPos;
        /**
         * 入职时间
         */
        private LocalDateTime addTime;
        /**
         * 更新时间
         */
        private LocalDateTime updateTime;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getAge() {
            return age;
        }

        public void setAge(int age) {
            this.age = age;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getStaPos() {
            return staPos;
        }

        public void setStaPos(String staPos) {
            this.staPos = staPos;
        }

        public LocalDateTime getAddTime() {
            return addTime;
        }

        public void setAddTime(LocalDateTime addTime) {
            this.addTime = addTime;
        }

        public LocalDateTime getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(LocalDateTime updateTime) {
            this.updateTime = updateTime;
        }

        @Override
        public String toString() {
            return "Staff{" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    ", age=" + age +
                    ", phone='" + phone + '\'' +
                    ", sta_pos='" + staPos + '\'' +
                    ", addTime=" + addTime +
                    ", updateTime=" + updateTime +
                    '}';
        }
    }
